Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


ChangePresentation

The ChangePresentation method changes the presentation of this frame.

void ChangePresentation (in ODTypeToken presentation);
presentation
A tokenized string representing the presentation to assign to this frame, expressed as a 32-bit value.
DISCUSSION
Your part calls its embedded frame's ChangePresentation method to request that it use a new presentation. This method in turn calls the PresentationChanged method of this frame's part to notify the part that its presentation has changed. If the embedded part does not support the requested presentation, it can pick a presentation that it can support and then call its frame's SetPresentation method to update the presentation in the frame.

EXCEPTIONS
kODErrIllegalNullTokenInput
The presentation parameter is null.
SEE ALSO
The ODTypeToken type (page 877).
The ODFrame::GetPresentation method (page 323).
The ODFrame::SetPresentation method (page 337).
The ODPart::PresentationChanged method (page 535).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help